package com.itcast.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itcast.reggie.pojo.Orders;

import java.time.LocalDateTime;

public interface OrdersService extends IService<Orders>{
    void submit(Orders order);
    //查找订单
    Page<Orders> getPages(int page, int pageSize, String number, LocalDateTime beginTime, LocalDateTime endTime);
}
